<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>digichef.urls</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="digichef-module.html">Package&nbsp;digichef</a> ::
        Module&nbsp;urls
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="digichef.urls-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="digichef.urls-module.html">Module digichef.urls</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment">#main urls.py</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment">#By Robert Miles</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">django</tt><tt class="py-op">.</tt><tt class="py-name">conf</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module digichef.profiles.urls=digichef.profiles.urls-module.html,Module digichef.recipes.urls=digichef.recipes.urls-module.html,Module digichef.registration.urls=digichef.registration.urls-module.html,Module digichef.urls=digichef.urls-module.html"><a title="digichef.profiles.urls
digichef.recipes.urls
digichef.registration.urls
digichef.urls" class="py-name" href="#" onclick="return doclink('link-0', 'urls', 'link-0');">urls</a></tt><tt class="py-op">.</tt><tt class="py-name">defaults</tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Package digichef.recipes=digichef.recipes-module.html"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-1', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module digichef.core.views=digichef.core.views-module.html,Module digichef.profiles.views=digichef.profiles.views-module.html,Module digichef.recipes.views=digichef.recipes.views-module.html,Module digichef.recommender.views=digichef.recommender.views-module.html,Module digichef.registration.views=digichef.registration.views-module.html,Module digichef.tagging.views=digichef.tagging.views-module.html,Module digichef.util.views=digichef.util.views-module.html,Module digichef.views=digichef.views-module.html,Module digichef.voting.views=digichef.voting.views-module.html"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-2', 'views', 'link-2');">views</a></tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Package digichef.core=digichef.core-module.html"><a title="digichef.core" class="py-name" href="#" onclick="return doclink('link-3', 'core', 'link-3');">core</a></tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Package digichef.util=digichef.util-module.html"><a title="digichef.util" class="py-name" href="#" onclick="return doclink('link-4', 'util', 'link-4');">util</a></tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Module digichef.settings=digichef.settings-module.html,Module digichef.tagging.settings=digichef.tagging.settings-module.html,Module digichef.tagging.tests.settings=digichef.tagging.tests.settings-module.html,Module digichef.voting.tests.settings=digichef.voting.tests.settings-module.html"><a title="digichef.settings
digichef.tagging.settings
digichef.tagging.tests.settings
digichef.voting.tests.settings" class="py-name" href="#" onclick="return doclink('link-5', 'settings', 'link-5');">settings</a></tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">django</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-6', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Module digichef.tagging.generic=digichef.tagging.generic-module.html"><a title="digichef.tagging.generic" class="py-name" href="#" onclick="return doclink('link-7', 'generic', 'link-7');">generic</a></tt><tt class="py-op">.</tt><tt class="py-name">simple</tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">django</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-8', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="digichef.tagging.generic" class="py-name" href="#" onclick="return doclink('link-9', 'generic', 'link-7');">generic</a></tt><tt class="py-op">.</tt><tt class="py-name">create_update</tt> <tt class="py-keyword">import</tt> <tt class="py-name">create_object</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-10" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-10', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Module digichef.core.models=digichef.core.models-module.html,Module digichef.profiles.models=digichef.profiles.models-module.html,Module digichef.recipes.models=digichef.recipes.models-module.html,Module digichef.recommender.models=digichef.recommender.models-module.html,Module digichef.registration.models=digichef.registration.models-module.html,Module digichef.tagging.models=digichef.tagging.models-module.html,Module digichef.tagging.tests.models=digichef.tagging.tests.models-module.html,Module digichef.util.models=digichef.util.models-module.html,Module digichef.voting.models=digichef.voting.models-module.html,Module digichef.voting.tests.models=digichef.voting.tests.models-module.html"><a title="digichef.core.models
digichef.profiles.models
digichef.recipes.models
digichef.recommender.models
digichef.registration.models
digichef.tagging.models
digichef.tagging.tests.models
digichef.util.models
digichef.voting.models
digichef.voting.tests.models" class="py-name" href="#" onclick="return doclink('link-11', 'models', 'link-11');">models</a></tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-12" class="py-name" targets="Package digichef.voting=digichef.voting-module.html"><a title="digichef.voting" class="py-name" href="#" onclick="return doclink('link-12', 'voting', 'link-12');">voting</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-13', 'views', 'link-2');">views</a></tt> <tt class="py-keyword">import</tt> <tt id="link-14" class="py-name" targets="Function digichef.voting.views.vote_on_object()=digichef.voting.views-module.html#vote_on_object"><a title="digichef.voting.views.vote_on_object" class="py-name" href="#" onclick="return doclink('link-14', 'vote_on_object', 'link-14');">vote_on_object</a></tt> </tt>
<a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line"> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-15" class="py-name" targets="Package digichef=digichef-module.html"><a title="digichef" class="py-name" href="#" onclick="return doclink('link-15', 'digichef', 'link-15');">digichef</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Package digichef.profiles=digichef.profiles-module.html"><a title="digichef.profiles" class="py-name" href="#" onclick="return doclink('link-16', 'profiles', 'link-16');">profiles</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Module digichef.profiles.forms=digichef.profiles.forms-module.html,Module digichef.recipes.forms=digichef.recipes.forms-module.html,Module digichef.registration.forms=digichef.registration.forms-module.html,Module digichef.tagging.forms=digichef.tagging.forms-module.html"><a title="digichef.profiles.forms
digichef.recipes.forms
digichef.registration.forms
digichef.tagging.forms" class="py-name" href="#" onclick="return doclink('link-17', 'forms', 'link-17');">forms</a></tt> <tt class="py-keyword">import</tt> <tt id="link-18" class="py-name" targets="Class digichef.profiles.forms.ProfileForm=digichef.profiles.forms.ProfileForm-class.html"><a title="digichef.profiles.forms.ProfileForm" class="py-name" href="#" onclick="return doclink('link-18', 'ProfileForm', 'link-18');">ProfileForm</a></tt> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-19" class="py-name"><a title="digichef" class="py-name" href="#" onclick="return doclink('link-19', 'digichef', 'link-15');">digichef</a></tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Package digichef.recommender=digichef.recommender-module.html"><a title="digichef.recommender" class="py-name" href="#" onclick="return doclink('link-20', 'recommender', 'link-20');">recommender</a></tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Module digichef.recommender.managers=digichef.recommender.managers-module.html,Module digichef.tagging.managers=digichef.tagging.managers-module.html,Module digichef.voting.managers=digichef.voting.managers-module.html"><a title="digichef.recommender.managers
digichef.tagging.managers
digichef.voting.managers" class="py-name" href="#" onclick="return doclink('link-21', 'managers', 'link-21');">managers</a></tt> <tt class="py-keyword">import</tt> <tt id="link-22" class="py-name" targets="Class digichef.recommender.managers.RecommenderManager=digichef.recommender.managers.RecommenderManager-class.html"><a title="digichef.recommender.managers.RecommenderManager" class="py-name" href="#" onclick="return doclink('link-22', 'RecommenderManager', 'link-22');">RecommenderManager</a></tt> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-23" class="py-name"><a title="digichef" class="py-name" href="#" onclick="return doclink('link-23', 'digichef', 'link-15');">digichef</a></tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-24', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="digichef.core.models
digichef.profiles.models
digichef.recipes.models
digichef.recommender.models
digichef.registration.models
digichef.tagging.models
digichef.tagging.tests.models
digichef.util.models
digichef.voting.models
digichef.voting.tests.models" class="py-name" href="#" onclick="return doclink('link-25', 'models', 'link-11');">models</a></tt> <tt class="py-keyword">import</tt> <tt id="link-26" class="py-name" targets="Class digichef.recipes.models.Recipe=digichef.recipes.models.Recipe-class.html"><a title="digichef.recipes.models.Recipe" class="py-name" href="#" onclick="return doclink('link-26', 'Recipe', 'link-26');">Recipe</a></tt> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">django</tt><tt class="py-op">.</tt><tt class="py-name">contrib</tt><tt class="py-op">.</tt><tt class="py-name">auth</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="digichef.core.models
digichef.profiles.models
digichef.recipes.models
digichef.recommender.models
digichef.registration.models
digichef.tagging.models
digichef.tagging.tests.models
digichef.util.models
digichef.voting.models
digichef.voting.tests.models" class="py-name" href="#" onclick="return doclink('link-27', 'models', 'link-11');">models</a></tt> <tt class="py-keyword">import</tt> <tt class="py-name">User</tt> </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"><tt class="py-comment"># Uncomment the next two lines to enable the admin:</tt> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">django</tt><tt class="py-op">.</tt><tt class="py-name">contrib</tt> <tt class="py-keyword">import</tt> <tt id="link-28" class="py-name" targets="Module digichef.registration.admin=digichef.registration.admin-module.html,Module digichef.tagging.admin=digichef.tagging.admin-module.html,Module digichef.voting.admin=digichef.voting.admin-module.html"><a title="digichef.registration.admin
digichef.tagging.admin
digichef.voting.admin" class="py-name" href="#" onclick="return doclink('link-28', 'admin', 'link-28');">admin</a></tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"><tt id="link-29" class="py-name"><a title="digichef.registration.admin
digichef.tagging.admin
digichef.voting.admin" class="py-name" href="#" onclick="return doclink('link-29', 'admin', 'link-28');">admin</a></tt><tt class="py-op">.</tt><tt class="py-name">autodiscover</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line"> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"><tt id="link-30" class="py-name" targets="Variable digichef.urls.man=digichef.urls-module.html#man"><a title="digichef.urls.man" class="py-name" href="#" onclick="return doclink('link-30', 'man', 'link-30');">man</a></tt> <tt class="py-op">=</tt> <tt id="link-31" class="py-name"><a title="digichef.recommender.managers.RecommenderManager" class="py-name" href="#" onclick="return doclink('link-31', 'RecommenderManager', 'link-22');">RecommenderManager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line"> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line"><tt id="link-32" class="py-name" targets="Variable digichef.profiles.urls.urlpatterns=digichef.profiles.urls-module.html#urlpatterns,Variable digichef.recipes.urls.urlpatterns=digichef.recipes.urls-module.html#urlpatterns,Variable digichef.registration.urls.urlpatterns=digichef.registration.urls-module.html#urlpatterns,Variable digichef.urls.urlpatterns=digichef.urls-module.html#urlpatterns"><a title="digichef.profiles.urls.urlpatterns
digichef.recipes.urls.urlpatterns
digichef.registration.urls.urlpatterns
digichef.urls.urlpatterns" class="py-name" href="#" onclick="return doclink('link-32', 'urlpatterns', 'link-32');">urlpatterns</a></tt> <tt class="py-op">=</tt> <tt class="py-name">patterns</tt><tt class="py-op">(</tt> </tt>
<a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"><tt class="py-string">''</tt><tt class="py-op">,</tt> </tt>
<a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line"><tt class="py-comment">#'django.views.generic.simple',</tt> </tt>
<a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">        <tt class="py-op">(</tt><tt class="py-string">r'^admin/doc/'</tt><tt class="py-op">,</tt> <tt class="py-name">include</tt><tt class="py-op">(</tt><tt class="py-string">'django.contrib.admindocs.urls'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line">        <tt class="py-op">(</tt><tt class="py-string">r'^admin/(.*)'</tt><tt class="py-op">,</tt> <tt id="link-33" class="py-name"><a title="digichef.registration.admin
digichef.tagging.admin
digichef.voting.admin" class="py-name" href="#" onclick="return doclink('link-33', 'admin', 'link-28');">admin</a></tt><tt class="py-op">.</tt><tt class="py-name">site</tt><tt class="py-op">.</tt><tt class="py-name">root</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line"> </tt>
<a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">        <tt class="py-op">(</tt><tt class="py-string">r'^media/(?P&lt;path&gt;.*)$'</tt><tt class="py-op">,</tt> <tt class="py-string">'django.views.static.serve'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'document_root'</tt><tt class="py-op">:</tt> <tt id="link-34" class="py-name"><a title="digichef.settings
digichef.tagging.settings
digichef.tagging.tests.settings
digichef.voting.tests.settings" class="py-name" href="#" onclick="return doclink('link-34', 'settings', 'link-5');">settings</a></tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Variable digichef.settings.STATIC_DOC_ROOT=digichef.settings-module.html#STATIC_DOC_ROOT"><a title="digichef.settings.STATIC_DOC_ROOT" class="py-name" href="#" onclick="return doclink('link-35', 'STATIC_DOC_ROOT', 'link-35');">STATIC_DOC_ROOT</a></tt><tt class="py-op">,</tt> <tt class="py-string">'show_indexes'</tt><tt class="py-op">:</tt> <tt class="py-name">True</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">,</tt>  </tt>
<a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line"> </tt>
<a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^$'</tt><tt class="py-op">,</tt> <tt class="py-string">'core.views.home'</tt><tt class="py-op">,</tt> <tt id="link-36" class="py-name" targets="Variable digichef.recommender.models.TestItem.name=digichef.recommender.models.TestItem-class.html#name,Variable digichef.tagging.models.Tag.name=digichef.tagging.models.Tag-class.html#name,Variable digichef.tagging.tests.models.Article.name=digichef.tagging.tests.models.Article-class.html#name,Variable digichef.tagging.tests.models.Link.name=digichef.tagging.tests.models.Link-class.html#name,Variable digichef.voting.tests.models.Item.name=digichef.voting.tests.models.Item-class.html#name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-36', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"home"</tt> <tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line"> </tt>
<a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^search/?$'</tt><tt class="py-op">,</tt><tt class="py-string">'django.views.generic.simple.redirect_to'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'url'</tt><tt class="py-op">:</tt> <tt class="py-string">'/'</tt><tt class="py-op">,</tt> <tt class="py-string">'permanent'</tt><tt class="py-op">:</tt> <tt class="py-name">False</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^search/(?P&lt;search_string&gt;.*).*$'</tt><tt class="py-op">,</tt> <tt id="link-37" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-37', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-38', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Function digichef.recipes.views.collab_search()=digichef.recipes.views-module.html#collab_search"><a title="digichef.recipes.views.collab_search" class="py-name" href="#" onclick="return doclink('link-39', 'collab_search', 'link-39');">collab_search</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line"> </tt>
<a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^api/search$'</tt><tt class="py-op">,</tt> <tt id="link-40" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-40', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-41', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-42" class="py-name" targets="Function digichef.recipes.views.api_collab_search()=digichef.recipes.views-module.html#api_collab_search"><a title="digichef.recipes.views.api_collab_search" class="py-name" href="#" onclick="return doclink('link-42', 'api_collab_search', 'link-42');">api_collab_search</a></tt><tt class="py-op">,</tt> <tt id="link-43" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-43', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"api_collab_search"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^api/similar/(?P&lt;recipe_id&gt;\d+)(/(?P&lt;number&gt;\d+))?$'</tt><tt class="py-op">,</tt> <tt id="link-44" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-44', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-45', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-46" class="py-name" targets="Function digichef.recipes.views.api_similar_recipes()=digichef.recipes.views-module.html#api_similar_recipes"><a title="digichef.recipes.views.api_similar_recipes" class="py-name" href="#" onclick="return doclink('link-46', 'api_similar_recipes', 'link-46');">api_similar_recipes</a></tt><tt class="py-op">,</tt> <tt id="link-47" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-47', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"api_similar"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^api/recommended/(?P&lt;username&gt;\w+)(/(?P&lt;number&gt;\d+))?$'</tt><tt class="py-op">,</tt> <tt id="link-48" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-48', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-49', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-50" class="py-name" targets="Function digichef.recipes.views.api_recommended_recipes()=digichef.recipes.views-module.html#api_recommended_recipes"><a title="digichef.recipes.views.api_recommended_recipes" class="py-name" href="#" onclick="return doclink('link-50', 'api_recommended_recipes', 'link-50');">api_recommended_recipes</a></tt><tt class="py-op">,</tt> <tt id="link-51" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-51', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"api_recommended"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^api/json_tags$'</tt><tt class="py-op">,</tt> <tt class="py-string">'util.views.json_tags'</tt><tt class="py-op">,</tt> <tt id="link-52" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-52', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"json_tags"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line"> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^testing$'</tt><tt class="py-op">,</tt> <tt class="py-string">'recipes.views.test'</tt><tt class="py-op">,</tt> <tt id="link-53" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-53', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"test"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line"> </tt>
<a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line"><tt class="py-comment">#       (r'^accounts/', include('registration.backends.default.urls')),</tt> </tt>
<a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line">        <tt class="py-op">(</tt><tt class="py-string">r'^accounts/'</tt><tt class="py-op">,</tt> <tt class="py-name">include</tt><tt class="py-op">(</tt><tt class="py-string">'registration.urls'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line"> </tt>
<a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line"> </tt>
<a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">'^profiles/edit'</tt><tt class="py-op">,</tt> <tt class="py-string">'profiles.views.edit_profile'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'form_class'</tt><tt class="py-op">:</tt> <tt id="link-54" class="py-name"><a title="digichef.profiles.forms.ProfileForm" class="py-name" href="#" onclick="return doclink('link-54', 'ProfileForm', 'link-18');">ProfileForm</a></tt><tt class="py-op">,</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^profiles/'</tt><tt class="py-op">,</tt> <tt class="py-name">include</tt><tt class="py-op">(</tt><tt class="py-string">'profiles.urls'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^users/(?P&lt;username&gt;\w+)/?$'</tt><tt class="py-op">,</tt><tt class="py-string">'django.views.generic.simple.redirect_to'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'url'</tt><tt class="py-op">:</tt> <tt class="py-string">'/profiles/%(username)s'</tt><tt class="py-op">,</tt> <tt class="py-string">'permanent'</tt><tt class="py-op">:</tt> <tt class="py-name">False</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line"> </tt>
<a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line"><tt class="py-comment">#       url(r'^recipes/(?P&lt;object_id&gt;\d+)/(?P&lt;direction&gt;up|down|clear)vote/?$', vote_on_object, {'model':recipes.models.Recipe, 'template_object_name':'recipe', 'allow_xmlhttprequest':'true'}, name="recipe_voting"),</tt> </tt>
<a name="L60"></a><tt class="py-lineno">60</tt>  <tt class="py-line">        <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^recipes/(?P&lt;object_id&gt;\d+)/(?P&lt;direction&gt;up|down|clear)vote/?$'</tt><tt class="py-op">,</tt> <tt id="link-55" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-55', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-56', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Function digichef.recipes.views.vote_on_recipe()=digichef.recipes.views-module.html#vote_on_recipe"><a title="digichef.recipes.views.vote_on_recipe" class="py-name" href="#" onclick="return doclink('link-57', 'vote_on_recipe', 'link-57');">vote_on_recipe</a></tt><tt class="py-op">,</tt> <tt id="link-58" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-58', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"recipe_voting"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line">  </tt>
<a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line"> </tt>
<a name="L63"></a><tt class="py-lineno">63</tt>  <tt class="py-line">    <tt class="py-name">url</tt><tt class="py-op">(</tt><tt class="py-string">r'^recipe/tag/(?P&lt;recipe_id&gt;\d+)$'</tt><tt class="py-op">,</tt> <tt id="link-59" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-59', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-60', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Function digichef.recipes.views.recipe_tag()=digichef.recipes.views-module.html#recipe_tag"><a title="digichef.recipes.views.recipe_tag" class="py-name" href="#" onclick="return doclink('link-61', 'recipe_tag', 'link-61');">recipe_tag</a></tt><tt class="py-op">,</tt> <tt id="link-62" class="py-name"><a title="digichef.recommender.models.TestItem.name
digichef.tagging.models.Tag.name
digichef.tagging.tests.models.Article.name
digichef.tagging.tests.models.Link.name
digichef.voting.tests.models.Item.name" class="py-name" href="#" onclick="return doclink('link-62', 'name', 'link-36');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">"recipe_tag"</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^recipe/(?P&lt;recipe_id&gt;\d+).*$'</tt><tt class="py-op">,</tt> <tt id="link-63" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-63', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-64', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-65" class="py-name" targets="Function digichef.recipes.views.recipe_detail()=digichef.recipes.views-module.html#recipe_detail"><a title="digichef.recipes.views.recipe_detail" class="py-name" href="#" onclick="return doclink('link-65', 'recipe_detail', 'link-65');">recipe_detail</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L65"></a><tt class="py-lineno">65</tt>  <tt class="py-line"> </tt>
<a name="L66"></a><tt class="py-lineno">66</tt>  <tt class="py-line"> </tt>
<a name="L67"></a><tt class="py-lineno">67</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^recipes/new/?$'</tt><tt class="py-op">,</tt> <tt id="link-66" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-66', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-67', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-68" class="py-name" targets="Function digichef.recipes.views.create_recipe()=digichef.recipes.views-module.html#create_recipe"><a title="digichef.recipes.views.create_recipe" class="py-name" href="#" onclick="return doclink('link-68', 'create_recipe', 'link-68');">create_recipe</a></tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'template_name'</tt><tt class="py-op">:</tt> <tt class="py-string">'recipes/recipe_new.html'</tt><tt class="py-op">,</tt> <tt class="py-string">'login_required'</tt><tt class="py-op">:</tt> <tt class="py-name">True</tt><tt class="py-op">}</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L68"></a><tt class="py-lineno">68</tt>  <tt class="py-line"><tt class="py-comment">#    (r'^recipes/new/?$', recipes.views.create_recipe, {'model': recipes.models.Recipe,'template_name': 'recipes/recipe_new.html', 'login_required': True}),</tt> </tt>
<a name="L69"></a><tt class="py-lineno">69</tt>  <tt class="py-line"> </tt>
<a name="L70"></a><tt class="py-lineno">70</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^recipes/?$'</tt><tt class="py-op">,</tt> <tt id="link-69" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-69', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-70', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-71" class="py-name" targets="Function digichef.recipes.views.recipes_all()=digichef.recipes.views-module.html#recipes_all"><a title="digichef.recipes.views.recipes_all" class="py-name" href="#" onclick="return doclink('link-71', 'recipes_all', 'link-71');">recipes_all</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L71"></a><tt class="py-lineno">71</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^recipes/all?$'</tt><tt class="py-op">,</tt> <tt id="link-72" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-72', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-73', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="digichef.recipes.views.recipes_all" class="py-name" href="#" onclick="return doclink('link-74', 'recipes_all', 'link-71');">recipes_all</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L72"></a><tt class="py-lineno">72</tt>  <tt class="py-line">    <tt class="py-op">(</tt><tt class="py-string">r'^recipes/by-rating?$'</tt><tt class="py-op">,</tt> <tt id="link-75" class="py-name"><a title="digichef.recipes" class="py-name" href="#" onclick="return doclink('link-75', 'recipes', 'link-1');">recipes</a></tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="digichef.core.views
digichef.profiles.views
digichef.recipes.views
digichef.recommender.views
digichef.registration.views
digichef.tagging.views
digichef.util.views
digichef.views
digichef.voting.views" class="py-name" href="#" onclick="return doclink('link-76', 'views', 'link-2');">views</a></tt><tt class="py-op">.</tt><tt id="link-77" class="py-name" targets="Function digichef.recipes.views.recipes_by_rating()=digichef.recipes.views-module.html#recipes_by_rating"><a title="digichef.recipes.views.recipes_by_rating" class="py-name" href="#" onclick="return doclink('link-77', 'recipes_by_rating', 'link-77');">recipes_by_rating</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L73"></a><tt class="py-lineno">73</tt>  <tt class="py-line"><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno">74</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Thu Apr  1 02:28:32 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
